# Contributor: Jake Buchholz <tomalok@gmail.com>
# Maintainer: Jake Buchholz <tomalok@gmail.com>
pkgname=log_proxy
pkgver=0.3.1
pkgrel=0
pkgdesc="A tiny C utility for log rotation for apps that write their logs to stdout."
url="https://github.com/metwork-framework/log_proxy"
arch="all"
license="BSD-3-Clause"
makedepends="glib-dev"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/metwork-framework/$pkgname/archive/v$pkgver.tar.gz
"
builddir="$srcdir/$pkgname-$pkgver/src"

build() {
	make
}

check() {
	make test
}

package() {
	make install DESTDIR="$pkgdir" PREFIX="/usr"
}

sha512sums="9452ba8811aefc6e04b1313f2ff26d4594103c925adbd4a10f510151441cf12ab602864003a08c232617e402750dbfde1295bcb92318132b0719c5ceb5a8ab94  log_proxy-0.3.1.tar.gz"
